#ifndef GAMESCENE_H
#define GAMESCENE_H

#include <QMainWindow>
#include "mycoin.h"
namespace Ui {
class gamescene;
}

class gamescene : public QMainWindow
{
    Q_OBJECT

public:
//    explicit gamescene(QWidget *parent = nullptr);
    gamescene(int levelNum);
     void paintEvent(QPaintEvent*);

    ~gamescene();
    int levelIndex;//记录选择关卡
    bool isWin;
    int gameArray[4][4];
    mycoin *coinBtn[4][4];
private:
    Ui::gamescene *ui;
signals:
    void chooseScenceBack();
};

#endif // GAMESCENE_H
